var express = require('express');
var router = express.Router();
var dataCtrl = require('../controllers/upload.controller')

router.post("/filedata", dataCtrl.filedata);
router.put("/filedata/:id", dataCtrl.update);
router.delete("/filedata/:id", dataCtrl.remove);
router.post("/list", dataCtrl.list);

module.exports = router;